/*
 * Copyright (c) 2001, 2002 Boris Pruessmann and others.
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Common Public License v0.5
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v05.html
 * 
 * Contributors:
 *    Boris Pruessmann - Initial implementation.
 */
package net.sourceforge.perforce.api.internal;

/**
  * Wrapper class for Perforce API ClientMerge class.
  * 
  * @version $Revision: 41 $
  * @author  <a href="mailto:bpruessmann@users.sourceforge.net>Boris Pruessmann</a>
  */
public class ClientMerge
{
	// --------------------------------------------------------------------------- Private Variables
	
	/** Used to store the native reference.
	  * <br>DON'T TOUCH THE CONTENT OF THIS VARIABLE 
	  */
	private int _nativeHandle;

	// ------------------------------------------------------------------------------ Public Methods

	/** Wrapper for ClientMerge::GetYourChunks() 
	  * @return number of incoming text chunks from your file.
	  */
	public native int getYourChunks();
		
	/** Wrapper for ClientMerge::GetTheirChunks() 
	  * @return number of incoming text chunks from their file.
	  */
	public native int getTheirChunks();
	
	/** Wrapper for ClientMerge::GetBothChunks() 
	  * @return number of incoming text chunks from both files.
	  */
	public native int getBothChunks();
		
	/** ClientMerge::GetConflictChunks() 
	  * @return number of conflicts.	  
	  */
	public native int getConflictChunks();
}
